home *** CD-ROM | disk | FTP | other *** search
- Path: FreeNet.Carleton.CA!am573
- From: am573@FreeNet.Carleton.CA (Jason Olenick)
- Newsgroups: comp.lang.c++
- Subject: Newbie: Character values?
- Date: 7 Apr 1996 08:38:06 GMT
- Organization: The National Capital FreeNet
- Sender: am573@freenet6.carleton.ca (Jason Olenick)
- Message-ID: <4k7ute$oud@freenet-news.carleton.ca>
- Reply-To: am573@FreeNet.Carleton.CA (Jason Olenick)
- NNTP-Posting-Host: freenet6.carleton.ca
-
-
- I am trying to see if the user has typed the Insert or Delete key in a
- program I wrote...but the unsinged char is giving the values of 0 then 82
- for insert (same as R) and delete is 0 then 83 (same as S). So what I'm
- doing then is seeing if the chars value is 0 if it was then see if the
- next chars value is 82 or 83. Is there an easier way around this? Not
- that this is hard, it just doesn't seem right.
-
- Thanks,
- -Jason
-
- --
- -/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\
- Donutßoy aka | "The fairest thing we can experience is the mysterious. \
- am573@Freenet | One who knows it not and can no longer wonder, no longer |
- .Carleton.CA | feel amazement, is as good as dead." - Albert Einstein |
-